package com.nbsaas.boot.system.data.entity;


import com.nbsaas.boot.code.annotation.FormAnnotation;
import com.nbsaas.boot.code.annotation.SearchItem;
import com.nbsaas.boot.jpa.data.entity.AbstractEntity;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import org.hibernate.annotations.Comment;

@FormAnnotation(model = "字典")
@Comment("字典表")
@Data
@Entity
@Table(name = "sys_dict")
public class Dict extends AbstractEntity {


    @SearchItem(label = "字典名称",name = "title")
    @Comment("字典名称")
    private String title;

    @SearchItem(label = "字典key",name = "dictKey")
    @Comment("字典key")
    private String dictKey;

}
